package ces.lawsuit.util;

public abstract class App {
	
	
	
	/**
	 * 当前数据库类型
	 */
	public static final String DB_TYPE_KEY = "db.type";

	/**
	 * 当前数据库类型：postgresql
	 */
	public static final String DB_TYPE_POSTGRESQL = "postgresql";

	/**
	 * 当前数据库类型：mysql
	 */
	public static final String DB_TYPE_MYSQL = "mysql";

	/**
	 * 当前数据库类型：oracle
	 */
	public static final String DB_TYPE_ORACLE = "oracle";
	/**
	 * 当前数据库类型：sql server
	 */
	public static final String DB_TYPE_SQLSERVER = "sqlserver";


	/**
	 * 数据库连接参数：驱动
	 */
	public static final String DB_CONNECTION_DRIVERCLASS = "driverClass";
	
	/**
	 * 数据库连接参数：连接URL
	 */
	public static final String DB_CONNECTION_URL = "db.url";
	
	/**
	 * 数据库连接参数：用户名
	 */
	public static final String DB_CONNECTION_USERNAME = "db.userName";
	
	/**
	 * 数据库连接参数：密码
	 */
	public static final String DB_CONNECTION_PASSWORD = "db.passWord";

	public static final String DB_SHOW_SQL="db.showSql";
	public static final String USER_SESSION_KEY="user_session";
	public interface QueryType {
		 String LIKE = "like";
		 String EQ = "eq";
		 String GT = "gt";// >
		 String GE = "ge";// >=
		 String LT = "lt";// <
		 String LE = "le";// <=
		 String BETWEEN = "between";
		 String IN = "in";
		 String AND = "and";
		 String OR = "or";
	}
	public interface StatusCode{
		String SUCCESS="200";
		String ERROR="300";
		String TIMEOUT="301";
	}
	public interface Status{
		int START=1;//启用
		int STOP=0;//停用
		int DELETE=-1;//删除
	}
	
}
